import { createApp } from 'vue'
import App from './App.vue'

// 统一不同浏览器标签默认样式
import 'normalize.css'
// 引入项目公共样式
import '@/assets/styles/common.less'

// 引入小兔鲜儿UI组件库
import XtxUI from './components/XtxUI'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const app = createApp(App)
const pinia = createPinia()
// pinia数据持久化
pinia.use(piniaPluginPersistedstate)

app.use(XtxUI)
app.use(router)
app.use(pinia)

app.mount('#app')
